<template>
    <van-cell :title="data.name">
        <van-progress
            :percentage="50"
            :stroke-width="data.options.strokeWidth"
            :pivot-text="data.options.pivotText"
            :color="data.options.color"
            :inactive="data.options.inactive"
        />
    </van-cell>
</template>
<script>
import { Progress } from 'vant'
export default {
    name: 'BaseProgress',
    components: {
        [Progress.name]: Progress
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
